package com.k.demo.entity;

public class RedBagRecord {
	
	private Integer red_bag_record_id;
	private Integer red_bag_id;
	private Integer user_id;
	private String user_true_name;
	private String create_date;
	private Integer valid_time;
	private String use_time;
	private Integer red_bag_state;
	private Integer is_delete;
	
	private ConstantTerm constantTerm;
	private RedBag redBag;
	public RedBagRecord(Integer red_bag_record_id, Integer red_bag_id, Integer user_id, String user_true_name,
			String create_date, Integer valid_time, Integer red_bag_state, Integer is_delete, ConstantTerm constantTerm,
			RedBag redBag) {
		super();
		this.red_bag_record_id = red_bag_record_id;
		this.red_bag_id = red_bag_id;
		this.user_id = user_id;
		this.user_true_name = user_true_name;
		this.create_date = create_date;
		this.valid_time = valid_time;
		this.red_bag_state = red_bag_state;
		this.is_delete = is_delete;
		this.constantTerm = constantTerm;
		this.redBag = redBag;
	}
	public RedBagRecord() {
		super();
	}
	public Integer getRed_bag_record_id() {
		return red_bag_record_id;
	}
	public void setRed_bag_record_id(Integer red_bag_record_id) {
		this.red_bag_record_id = red_bag_record_id;
	}
	public Integer getRed_bag_id() {
		return red_bag_id;
	}
	public void setRed_bag_id(Integer red_bag_id) {
		this.red_bag_id = red_bag_id;
	}
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
	public String getUser_true_name() {
		return user_true_name;
	}
	public void setUser_true_name(String user_true_name) {
		this.user_true_name = user_true_name;
	}
	public String getCreate_date() {
		return create_date;
	}
	public void setCreate_date(String create_date) {
		this.create_date = create_date;
	}
	public Integer getValid_time() {
		return valid_time;
	}
	public void setValid_time(Integer valid_time) {
		this.valid_time = valid_time;
	}
	public Integer getRed_bag_state() {
		return red_bag_state;
	}
	public void setRed_bag_state(Integer red_bag_state) {
		this.red_bag_state = red_bag_state;
	}
	public Integer getIs_delete() {
		return is_delete;
	}
	public void setIs_delete(Integer is_delete) {
		this.is_delete = is_delete;
	}
	public ConstantTerm getConstantTerm() {
		return constantTerm;
	}
	public void setConstantTerm(ConstantTerm constantTerm) {
		this.constantTerm = constantTerm;
	}
	public RedBag getRedBag() {
		return redBag;
	}
	public void setRedBag(RedBag redBag) {
		this.redBag = redBag;
	}
	@Override
	public String toString() {
		return "RedBagRecord [red_bag_record_id=" + red_bag_record_id + ", red_bag_id=" + red_bag_id + ", user_id="
				+ user_id + ", user_true_name=" + user_true_name + ", create_date=" + create_date + ", valid_time="
				+ valid_time + ", red_bag_state=" + red_bag_state + ", is_delete=" + is_delete + ", constantTerm="
				+ constantTerm + ", redBag=" + redBag + "]";
	}
	public String getUse_time() {
		return use_time;
	}
	public void setUse_time(String use_time) {
		this.use_time = use_time;
	}
	
	
	

}
